{% import "helpers/common.html" as common %}
{% import "helpers/forms.html" as forms %}

{% extends 'layout.html' %}

{% block content %}
<form class="form-horizontal" method="POST">
    <fieldset>
        <legend>Ajoute entraineur a "{{equipe['Nom_Equipe']}}"</legend>

        {{ forms.personne() }}
        {{ forms.horinput('Date_Entree', 'Date Entree', p['Date_Entree']) }}

        {{ forms.horsubmit(personne ? 'Mettre au jour' : 'Sauvegarde') }}
    </fieldset>
</form>

{% endblock %}
